<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>빅마마에 오신것을 환영합니다.</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="/css/default.css"/>
<link rel="stylesheet" type="text/css" href="/css/login.css"/>

</head>
<body>

 <div id="banner">
	<p>아이와 함께한 소중한 시간, 빅마마가 기록합니다.</p>
 </div>

 <div id="nav">
	<a href="../../buildlog">성장기록</a> 
	<a href="../../photolog">사진기록</a> 
	<a href="../../memolog">메모기록</a>
	<a href="http://127.0.0.1:8000/admin">관리자</a>
 </div>

 <div id="left">
	 <div id="info">
		<p class="news1">
			Login
		</p>
		{% if user.username %}
		<p>{{user.username}} 환영합니다!</p>
		{% else %}
		<p>Go to <a href = "/login/">login</a>login page </p>		
		{% endif %}
	 </div>
 </div> 

 <div id="container">
	        {% if photo %}
		        {% for message in photo %}
					<p><h1>{{ message.record_date }}</h1>
					<img src = ../../{{ message.photo_file }} /><br>
					{{ message.memo }}</p>
				{% endfor %}
			{% else %}
				<p>메모리스트 로딩 에러</p>			
	        {% endif %}
 </div>

 <div id="bottom">
	<p style="margin:0;">
		Copyright (&copy;) Bigmama, 2009 <a href="#">Valid XHTML</a>, <a href="#">Valid CSS</a>
	</p>
 </div>

</body>
</html>